function [net] = createNet( parameters,neurons,P,T,net )
inputs=numel(P(:,1));
outputs=numel(T(:,1));
%First Layer
for row=0:neurons-1
    for column=1:inputs
        IW(row+1,:)=parameters(row*5+1:inputs+row*5);
    end
end
%Second Layer
for param=inputs*neurons+1:inputs*neurons+neurons
    LW(param-inputs*neurons)=parameters(param);
end
for param=inputs*neurons+1+neurons:inputs*neurons+neurons+neurons
    bias1(param-(inputs*neurons+neurons),1)=parameters(param);
end
bias2=parameters(end);




%load net%cualquiera es para deploy

%net= newff(P,T,neurons);
net.IW{1,1}=IW;
net.b{1}=bias1;
net.LW{2,1}=LW;
net.b{2}=bias2;
end